package edu.neusoft.yuejian_09.service;

import java.util.List;

import edu.neusoft.yuejian_09.bean.Activities;
import edu.neusoft.yuejian_09.bean.Club;
import edu.neusoft.yuejian_09.bean.Course;
import edu.neusoft.yuejian_09.bean.Video;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/10/10.
 */

public interface ClubService {
    //获取俱乐部列表
    @GET("Clubs/getClubs")
    Call<List<Club>> getAllClub();
    //获取俱乐部详情
    @GET("Club/getClubinfo")
    Call<Club> getClubinfo(int c_id);

    @GET("Club/getClubactivitys")
    Call<List<Activities>> getClubactivitys(@Query("c_id") int c_id);

    @GET("Clubcourse/getClubcourselist")
    Call<List<Course>> getClubcourselist(@Query("c_id") int c_id);

    @GET("Clubvideo/getClubvideolist")
    Call<List<Video>> getClubvideolist(@Query("c_id") int c_id);

    //搜索俱乐部
    @GET("Club/searchClub")
    Call<List<Club>> searchClub(@Query("c_name") String c_name);

    //俱乐部视频列表
    @GET("Videos/getVideos")
    Call<List<Video>> getVideos();
}


